<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body>
	<form action="search_courses.html" method="post">
	<table cellpadding="0" width="690" cellspacing="0" border="0" align="center">
		<tr><td height="10"> </td></tr>
			<c:forEach var="i" begin="0" end="${fn:length(walls)-1}" step="1" varStatus ="status">
				<tr valign="top">
					<td align="left" height="15" style="padding-left: 5px; padding-right:5px;font-size: 14px;">
							<a href="view_wall.html?wall_id=${walls[i].WALL_ID}"><b><c:out value="${walls[i].TITLE}"></c:out>&nbsp;</b></a><br>
					</td>
				</tr>
				<tr>
					<td align="left" style="padding-left: 10px; padding-right:5px;">
								<c:choose>
									<c:when test="${fn:length(walls[i].PURPOSE)>=350}">
										<c:out value="${fn:substring(walls[i].PURPOSE,0,350)}"/>...
									</c:when>
									<c:otherwise>
										<c:out value="${walls[i].PURPOSE}"/>
									</c:otherwise>
								</c:choose>
					</td>
				</tr>
				<tr><td height="20" align="left" valign="bottom" style="font-size: 10px;color: #444;padding-left: 10px;">Posted by:&nbsp;<b>Administrator</b></td></tr>
				<tr><td><hr size="1" width="100%" color="#DDD"></td></tr>
			</c:forEach>
		<tr><td height="10"> </td></tr>
		<tr><td>&nbsp;</td></tr>
</table>
</form>
</body>
</html>